package com.hudongwx.godoffood.utils.DBUtils;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * 数据库的类
 * Created by hudongwx on 16-11-14.
 */
@Table(name = "Address")
public class Address {
    @Column(name = "id", isId = true)
    int id;
    @Column(name = "name")
    String name;
    @Column(name = "call")
    String call;
    @Column(name = "address_1")
    String address_1;
    @Column(name = "address_2")
    String address_2;
    @Column(name = "zip")
    String zip;
    @Column(name = "boolean")
    boolean one;

    public Address() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public boolean getOne() {
        return one;
    }

    public void setOne(boolean one) {
        this.one = one;
    }

    public String getCall() {
        return call;
    }

    public void setCall(String call) {
        this.call = call;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public void setName(String name) {
        this.name = name;

    }

    public Address(String call, String name, String address_2, String address_1, boolean one) {
        this.call = call;
        this.name = name;
        this.address_2 = address_2;
        this.address_1 = address_1;
        this.one = one;
    }

    public Address(String name, String call, String address_1, String address_2, String zip, boolean one) {

        this.name = name;
        this.call = call;
        this.address_1 = address_1;
        this.address_2 = address_2;
        this.zip = zip;
        this.one = one;
    }

    public String getAddress_1() {
        return address_1;
    }

    public void setAddress_1(String address_1) {
        this.address_1 = address_1;
    }

    public String getAddress_2() {
        return address_2;
    }

    public void setAddress_2(String address_2) {
        this.address_2 = address_2;
    }


}
